package com.sunshine.ssm.job;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @Author: WeiHong
 * @Date: 2017/5/19 9:53
 */
@Component("jobTest")
public class JobTest extends AbstractJob {

    private static final Logger LOGGER = LoggerFactory.getLogger(JobTest.class);

    /**
     * 构造方法
     *
     */
    public JobTest() {
        super("定时任务测试");
    }

    @Override
    protected void doTask() throws Exception {
        LOGGER.info("定时任务开始");
    }
}
